/********************************************************
 Name          : USB_if.c
 Author        : Khachatur Gyozalyan
 Copyright     : Copyright by Antel Systems
 Description   :
 **********************************************************/
#include "USB_if.h"
#include "power_clocks_lib.h"
#include "FreeRTOS.h"
#include "task.h"
#include "conf_usb.h"
#include "usb_task.h"
#include "device_cdc_task.h"

void usb_if_task_init(void)
{
	// Initialize USB clock.
	pcl_configure_usb_clock();

	// Initialize USB task
	usb_task_init();

#if USB_DEVICE_FEATURE == ENABLED
	// Initialize device CDC USB task
	device_cdc_task_init();
#endif

}



